package com.stylefeng.guns.modular.flagglory.service;

import com.stylefeng.guns.common.persistence.model.InvitationCode;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * lg_邀请码 服务类
 * </p>
 *
 * @author stylefeng123
 * @since 2018-01-31
 */
public interface IInvitationCodeService extends IService<InvitationCode> {
    boolean distribution(Integer deptId, Integer number) throws Exception;
    List<Map<String,Object>> selectInvitationByDept();
}
